import Vue from 'vue'
import {
  Popup,
  Button,
  Dialog,
  Icon,
  Toast,
  IndexBar,
  IndexAnchor,
  Cell,
  Grid,
  GridItem,
  PullRefresh,
  Field,
  CellGroup
} from 'vant'
Vue.prototype.$dialog = Dialog
Vue.use(Popup)
Vue.use(Button)
Vue.use(Dialog)
Vue.use(Icon)
Vue.use(Toast)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Cell)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(PullRefresh)
Vue.use(Field)
Vue.use(CellGroup)